<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html id="htmlId">
<head>
    <title>Coverage Report :: Pellet</title>
    <style type="text/css">
        @import "../../.css/coverage.css";
    </style>
</head>

<body>
<div class="header"></div>

<div class="content">
    <div class="breadCrumbs">
        [ <a href="../../index.html">all classes</a> ]
        [ <a href="../index.html">nl.tudelft.jpacman.level</a> ]
    </div>

    <h1>Coverage Summary for Class: Pellet (nl.tudelft.jpacman.level)</h1>

    <table class="coverageStats">

        <tr>
            <th class="name">Class</th>
            <th class="coverageStat
">
                Method, %
            </th>
            <th class="coverageStat
">
                Line, %
            </th>
        </tr>
        <tr>
            <td class="name">Pellet</td>
            <td class="coverageStat">
  <span class="percent">
    0%
  </span>
                <span class="absValue">
    (0/ 3)
  </span>
            </td>
            <td class="coverageStat">
  <span class="percent">
    0%
  </span>
                <span class="absValue">
    (0/ 6)
  </span>
            </td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$5UQ2O0KO</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$CuGeZV8w</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$e4MFDr4n</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$i5xMXKNU</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$kOCFvCR4</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$oCL7SHph</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$r85VMvKd</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$rPArti1S</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$tIH7nwh5</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$tzf1UD76</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$URzhuF5e</td>
        </tr>
        <tr>
            <td class="name">Pellet$MockitoMock$191940630$auxiliary$ZleaTOoK</td>
        </tr>
        <tr>
            <td class="name"><strong>total</strong></td>
            <td class="coverageStat">
  <span class="percent">
    0%
  </span>
                <span class="absValue">
    (0/ 3)
  </span>
            </td>
            <td class="coverageStat">
  <span class="percent">
    0%
  </span>
                <span class="absValue">
    (0/ 6)
  </span>
            </td>
        </tr>
    </table>

    <br/>
    <br/>


    <div class="sourceCode"><i>1</i>&nbsp;package nl.tudelft.jpacman.level;
        <i>2</i>&nbsp;
        <i>3</i>&nbsp;import nl.tudelft.jpacman.board.Unit;
        <i>4</i>&nbsp;import nl.tudelft.jpacman.sprite.Sprite;
        <i>5</i>&nbsp;
        <i>6</i>&nbsp;/**
        <i>7</i>&nbsp; * A pellet, one of the little dots Pac-Man has to collect.
        <i>8</i>&nbsp; *
        <i>9</i>&nbsp; * @author Jeroen Roosen
        <i>10</i>&nbsp; */
        <i>11</i>&nbsp;public class Pellet extends Unit {
        <i>12</i>&nbsp;
        <i>13</i>&nbsp; /**
        <i>14</i>&nbsp; * The sprite of this unit.
        <i>15</i>&nbsp; */
        <i>16</i>&nbsp; private final Sprite image;
        <i>17</i>&nbsp;
        <i>18</i>&nbsp; /**
        <i>19</i>&nbsp; * The point value of this pellet.
        <i>20</i>&nbsp; */
        <i>21</i>&nbsp; private final int value;
        <i>22</i>&nbsp;
        <i>23</i>&nbsp; /**
        <i>24</i>&nbsp; * Creates a new pellet.
        <i>25</i>&nbsp; * @param points The point value of this pellet.
        <i>26</i>&nbsp; * @param sprite The sprite of this pellet.
        <i>27</i>&nbsp; */
        <b class="nc"><i>28</i>&nbsp; public Pellet(int points, Sprite sprite) {</b>
        <b class="nc"><i>29</i>&nbsp; this.image = sprite;</b>
        <b class="nc"><i>30</i>&nbsp; this.value = points;</b>
        <b class="nc"><i>31</i>&nbsp; }</b>
        <i>32</i>&nbsp;
        <i>33</i>&nbsp; /**
        <i>34</i>&nbsp; * Returns the point value of this pellet.
        <i>35</i>&nbsp; * @return The point value of this pellet.
        <i>36</i>&nbsp; */
        <i>37</i>&nbsp; public int getValue() {
        <b class="nc"><i>38</i>&nbsp; return value;</b>
        <i>39</i>&nbsp; }
        <i>40</i>&nbsp;
        <i>41</i>&nbsp; @Override
        <i>42</i>&nbsp; public Sprite getSprite() {
        <b class="nc"><i>43</i>&nbsp; return image;</b>
        <i>44</i>&nbsp; }
        <i>45</i>&nbsp;}
    </div>
</div>

<div class="footer">

    <div style="float:right;">generated on 2023-04-25 16:45</div>
</div>
</body>
</html>
